package club.pchome.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import club.pchome.model.UserAdmin;

@Mapper
public interface UserAdminMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(UserAdmin record);

    int insertSelective(UserAdmin record);

    UserAdmin selectByPrimaryKey(Integer id);
    
	UserAdmin login(@Param(value="username") String username, @Param(value="password") String password);
	
	List<UserAdmin> getUserToHolder();
}